package com.example.siyun.pojo;

import java.util.List;
/**
 * @Auther: 全
 * @Date: 2022/10/2 19:54
 * @Description: 导航栏
 */
public class Dhl {
    private int menuId;
    /* 节点名字 */
    private String name;
    /* 跳转路径 */
    private String url;
    /* 父节点id */
    private Integer pid;
    /* 是否展开 */
    private String spread;
    private List<Dhl> childMenus;

    public int getMenuId() {
        return menuId;
    }

    public void setMenuId(int menuId) {
        this.menuId = menuId;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getUrl() {
        return url;
    }

    public void setUrl(String url) {
        this.url = url;
    }

    public Integer getPid() {
        return pid;
    }

    public void setPid(Integer pid) {
        this.pid = pid;
    }

    public String getSpread() {
        return spread;
    }

    public void setSpread(String spread) {
        this.spread = spread;
    }

    public List<Dhl> getChildMenus() {
        return childMenus;
    }

    public void setChildMenus(List<Dhl> childMenus) {
        this.childMenus = childMenus;
    }

    @Override
    public String toString() {
        return "Dhl{" +
                "menuId=" + menuId +
                ", name='" + name + '\'' +
                ", url='" + url + '\'' +
                ", pid=" + pid +
                ", spread='" + spread + '\'' +
                ", childMenus=" + childMenus +
                '}';
    }
}
